package com.wzqj.agent.app.user.service;

import com.wzqj.agent.app.user.domain.UserInfo;

/**
 * Created by wanghao@weipass.cn on 2015/7/31.
 */
public interface ApiUserService {

    /**
     * 根据业务员手机号获取业务员信息
     * @param phone
     * @return
     */
    UserInfo getUserInfo(String phone);

    /**
     * 更新对应手机号业务员的头像信息
     * @param phone
     * @param iconUrl
     * @return
     */
    UserInfo updateUserInfo(String phone, String iconUrl);

    boolean bindMerchantToUser(String qualificationid, long userId);

	boolean bindMerchantToUserNew(String qualificationId, long userId);
}
